#ifndef GLOBAL_VARS_H
#define GLOBAL_VARS_H

#include <string>
#include <GL/glut.h>

#include "../TextureFunctions/texturefunctions.h"
using std::string;
//aenderung

extern float flutX;
extern float flutY;
extern float flutZ;
extern float hilf;

extern const GLfloat mat_gelblich[];
extern const GLfloat mat_weisslich[];
extern const GLfloat mat_emissionAn[];
extern const GLfloat mat_emissionAus[];


const string texturDir = "Textures/";

extern int lightOnOff; //Zwischen Tag und Nacht wechseln

extern const RGBImage *steg;
extern const RGBImage *steg_poller;
extern const RGBImage *steg_balken;
extern const RGBImage *boden;
extern const RGBImage *pallete;


extern const RGBImage *schiffwand;
extern const RGBImage *kajuete;
extern const RGBImage *rettungsboote;
extern const RGBImage *ladeflaeche ;
extern const RGBImage *schifffenster;
extern const RGBImage *fassblau;
extern const RGBImage *fassrot;
extern const RGBImage *conIndia;
extern const RGBImage *conIndia_back;
extern const RGBImage *conAfrica;
extern const RGBImage *conAfrica_back;
extern const RGBImage *conAmerica;
extern const RGBImage *conAmerica_back;

extern const RGBImage *wasser;

extern const   RGBImage *sky_tag;
extern const   RGBImage *sky_nacht;

extern const   RGBImage *haussen       ;
extern const   RGBImage *hinnen        ;
extern const   RGBImage *raussen       ;

extern const   RGBImage *holz1         ;
extern const   RGBImage *holz2         ;
extern const   RGBImage *holz3         ;
extern const   RGBImage *holz4         ;

extern const   RGBImage *metal1        ;
extern const   RGBImage *metal2        ;
extern const   RGBImage *metal3        ;
extern const   RGBImage *metal4        ;

extern const   RGBImage *pboden       ;
extern const   RGBImage *hboden       ;
extern const   RGBImage *rboden       ;

extern const   RGBImage *tor;
extern const   RGBImage *tuer;
extern const   RGBImage *fenster          ;
extern const  RGBImage *lsr       ;
extern const  RGBImage *lampenaus  ;
extern const  RGBImage *lampenan  ;

extern const RGBImage *kran_eisen01_64;
extern const RGBImage *kran_eisen02_64;
extern const RGBImage *kran_eisen03_64;
extern const RGBImage *kran_eisen04_64;
extern const RGBImage *kran_eisen05_128;
extern const RGBImage *kran_holz01_128;
extern const RGBImage *kran_kabine_128;
extern const RGBImage *kran_metall01_64;
extern const RGBImage *kran_rumpf_64;
extern const RGBImage *kran_scheinwerfer_64;
extern const RGBImage *kran_scheinwerferHell_64;
extern const RGBImage *kran_schwarz;
extern const RGBImage *grau;

extern const RGBImage *poller_64;


//Variablen fuer die Displaylisten
extern GLuint dlShip;
extern GLuint dlTreeT1;
extern GLuint dlTreeT5;
extern GLuint dlSkyBoxTag;
extern GLuint dlSkyBoxNacht;
extern GLuint dlTreeZaun;
extern GLuint dlFassBlau;
extern GLuint dlFassRot;
extern GLuint dlContainer;
extern GLuint dlPoller;
extern GLuint dlStegPoller;
extern GLuint dlSteg;
extern GLuint dlPallete;
extern GLuint dlFaesserPallaeteBlau;
extern GLuint dlFaesserPallaeteRot;
extern GLuint dlPalletenBergBlau;
extern GLuint dlPalletenBergRot;
extern GLuint dlPalletenBerg;

extern GLuint dlFlutlichtTag;
extern GLuint dlFlutlichtNacht;

extern GLuint dlKran01Schiene;
extern GLuint dlKran02Rad;
extern GLuint dlKran03Radkappe;
extern GLuint dlKran04Mittelteil;
extern GLuint dlKran05Oberteil;
extern GLuint dlKran05Arm;
extern GLuint dlKran05Hebel;
extern GLuint dlKran06Stopper;
extern GLuint dlKran07Hand;
extern GLuint dlKran07Finger;
void clearMemory();


#endif
